<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Insert user</title>
</head>
<body>
<div class="pageContent">
	<form id="frm" method="post" enctype="multipart/form-data"
		  action="repayment/renewal"
		  onsubmit="return validateCallback(this, dialogAjaxDone);"
		  class="pageForm required-validate">
		<input type="hidden" name="parentId" value="${params.parentId}" />
		<input type="hidden" name="assetRepaymentId" id="id" value="${assetRepaymentId }">
		<div class="pageFormContent" layoutH="50" style="overflow: auto;">
			<dl style="width: 100%;">
				<dt style="width: 80px;">
					<label>
						总服务费:
					</label>
				</dt>
				<dd style="width:500px;">
					<input id="sumFee" name="sumFeeBig" class="number required" type="text" alt="请输入总服务费" size="30" value="${allCount / 100.00}"/>
				</dd>
			</dl>
			<div class="divider"></div>
			<dl style="width: 100%;">
				<dt style="width: 80px;">
					<label>
						服务费:
					</label>
				</dt>
				<dd style="width:500px;">
					<input id="repaymentInterest" name="repaymentInterestBig" class="number required" type="text" alt="请输入服务费" size="30" value="${loanApr / 100.00}"/>
				</dd>
			</dl>
			<div class="divider"></div>
			<dl style="width: 100%;">
				<dt style="width: 80px;">
					<label>
						滞纳金:
					</label>
				</dt>
				<dd style="width:500px;">
					<input id="planLateFee" name="planLateFeeBig" class="number required" type="text" alt="请输入滞纳金" size="30" value="${waitLate / 100.00}"/>
				</dd>
			</dl>
			<div class="divider"></div>
			<dl style="width: 100%;">
				<dt style="width: 80px;">
					<label>
						续期费:
					</label>
				</dt>
				<dd style="width:500px;">
					<input id="renewalFee" name="renewalFeeBig" class="number required" type="text" alt="请输入续期费" size="30" value="${renewalFee / 100.00}"/>
				</dd>
			</dl>
			<div class="divider"></div>
			<dl style="width: 100%;">
				<dt style="width: 80px;">
					<label>
						支付宝订单号:
					</label>
				</dt>
				<dd style="width:500px;">
					<input id="orderId" name="orderId" class="textInput" type="text" alt="请输入支付宝订单号" size="30" value=""/>
				</dd>
			</dl>
			<div class="divider"></div>
			<dl>
				<dt style="width: 80px;">
					<label>
						还款时间:
					</label>
				</dt>
				<dd>
					<input datefmt="yyyy-MM-dd HH:mm:ss" class="date textInput readonly required" type="text" size="30" readonly="readonly" name="createdAtStr"/>
				</dd>
			</dl>
			<div class="divider"></div>
			<dl>
				<dt style="width: 80px;">
					<label>
						备注:
					</label>
				</dt>
				<dd>
					<textarea title="备注" name="remark" rows="5" cols="60" maxlength="50"></textarea>
				</dd>
			</dl>
		</div>
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="button" onclick="submitFrm()">
								保存
							</button>
						</div>
					</div>
				</li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">
								取消
							</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>
</body>
<script type="text/javascript">
	function submitFrm(){
		$("#frm").submit();
	}
</script>
</html>